<div>
    <form class="form-horizontal bv-form"  role="form"  id="updateForm">
        <input type="hidden" name="up_base_id" value="{$res.up_base_id}">
        <fieldset>
            <legend>基本信息</legend>
            <div class="form-group">
                <label class="col-sm-3 control-label">发布条数</label>
                <div class="col-sm-2">
                    <input type="text"  class="form-control" id="up_info_count" name="up_info_count" value="{$res.up_info_count}">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">置顶轮播版位费用</label>
                <div class="col-sm-2">
                    <input type="text"  class="form-control" id="up_adv_position_money" name="up_adv_position_money" value="{$res.up_adv_position_money}">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">置顶轮播单个红包价格</label>
                <div class="col-sm-2">
                    <input type="text"  class="form-control" id="up_banner_adv_single_money" name="up_banner_adv_single_money" value="{$res.up_banner_adv_single_money}">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">置顶轮播平台手续费</label>
                <div class="col-sm-2">
                    <input type="text"  class="form-control" id="up_banner_percent" name="up_adv_single_money" value="{$res.up_banner_percent}">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">普通轮播单个红包价格</label>
                <div class="col-sm-2">
                    <input type="text"  class="form-control" id="up_common_adv_single_money" name="up_common_adv_single_money" value="{$res.up_common_adv_single_money}">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">普通轮播平台手续费</label>
                <div class="col-sm-2">
                    <input type="text"  class="form-control" id="up_common_percent" name="up_common_percent" value="{$res.up_common_percent}">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">普通轮播红包占比</label>
                <div class="col-sm-2">
                    <input type="text"  class="form-control" id="up_red_percent" name="up_red_percent" value="{$res.up_red_percent}">
                </div>
            </div>

        </fieldset>
    </form>
</div>
<script>
    $("#up_info_count").on("keyup",function(){
        this.value = this.value.replace(/[^0-9]/g,'');
        if(this.value<1){this.value='';}
    });
</script>





